home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / __ALEN.HDR next >
Text File  |  1994-04-25  |  842b  |  40 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _Alen( aName ) --> nArrayLength
  8.  
  9. PARAMETERS:
  10.  
  11. aName : Character expression name of an array
  12.  
  13. SHORT:
  14.  
  15. Determine the number of array elements, excluding NIL elements.
  16.  
  17. DESCRIPTION:
  18.  
  19. _Alen() returns the number of defined elements in any given array, exclusing
  20. NIL elements.  That is, _ALen() determines how many array elements are
  21. actually defined.
  22.  
  23. NOTE:
  24.  
  25.  
  26.  
  27. EXAMPLE:
  28.  
  29. PRIVATE MyArray[10]
  30. MyArray[1] = 'howdy'
  31. MyArray[2] = 'hello'
  32. MyArray[3] = 'hithere'
  33. MyArray[7] = 'hi'
  34.  
  35. t = _Alen(MyArray)
  36.  
  37. Result: t = 4
  38.  
  39. ******************************************************************************/
  40.